------------------ MS-DOS v6.22 Help: DRVSPACE /COMPRESS -------------------
<Notes> <Examples>                                               <Index>
----------------------------------------------------------------------------

                             DRVSPACE /COMPRESS

Compresses the files on an existing hard disk drive, floppy disk, or other
removable media. Compressing an existing drive makes more space available on
that drive.

Note:  DriveSpace cannot compress a drive that's completely full. To
       compress your startup hard disk drive, the drive must contain at
       least 1.2 MB of free space. Other hard disk drives and floppy disks
       must contain at least 1.1 MB of free space. (DriveSpace cannot
       compress 360K floppy disks.)

Syntax

    DRVSPACE /COMPRESS drive1: [/NEWDRIVE=drive2:] [/RESERVE=size] [/F]

Parameter

drive1:
    Specifies the existing drive you want to compress.

Switches

/COMPRESS
    Compresses the hard disk drive or floppy disk specified by the drive
    parameter. This switch can be abbreviated to /COM.

/NEWDRIVE=drive2:
    Specifies the drive letter for the uncompressed (host) drive. After
    DriveSpace compresses an existing drive, your system will include both
    the existing drive (now compressed) and a new uncompressed drive. The
    /NEWDRIVE switch is optional; if you omit it, DriveSpace assigns the
    next available drive letter to the new drive. This switch can be
    abbreviated to /NEW.

/RESERVE=size
    Specifies how many megabytes of space to leave uncompressed. Because
    some files, such as the Windows swap file, do not work properly when
    stored on a compressed drive, it's a good idea to reserve some
    uncompressed space. The uncompressed space will be located on the new
    uncompressed drive. (If the drive you are compressing contains a Windows
    permanent swap file, DriveSpace moves the file to the new uncompressed
    drive.) This switch can be abbreviated to /RES.

/F
    Prevents DriveSpace from displaying the final screen when compression is
    complete. This screen includes compression statistics. If you specify
    the /F switch, DriveSpace returns to the command prompt when compression
    is complete.

                                      ***

<Syntax> <Examples>
----------------------------------------------------------------------------

                        DRVSPACE /COMPRESS -- Notes

Compressing Floppy Disks

You can use DriveSpace to increase the storage capacity of floppy disks in
addition to hard disks. After compressing a floppy disk, you can use it to
store data or to transfer data from one computer to another.

Compressing a floppy disk is similar to compressing an existing hard disk
drive. You can compress a floppy disk that is completely empty or one that
contains a few files. (Make sure the floppy disk is formatted and has at
least 1.1 MB of free space. DriveSpace cannot compress a floppy disk that is
full. DriveSpace also cannot compress 360K floppy disks.)

Using Compressed Floppy Disks

In general, you use a compressed floppy disk just as you would a normal
floppy disk. The main difference is that, to use a compressed floppy disk to
transfer data from one computer to another, both computers must be running
DriveSpace.

Mounting Compressed Floppy Disks

By default, DriveSpace automatically mounts a compressed floppy disk when
you try to use that disk. However, if you disable DriveSpace's Automount
feature in order to save memory, you must mount each compressed floppy disk
yourself, before you can use it.

If you have turned off Automount, when you first compress a floppy disk,
DriveSpace mounts it for you. However, if you change floppy disks or restart
your computer, you will have to remount the floppy disk before you can use
it again.

To mount a floppy disk, use the <DRVSPACE /MOUNT> command.

To enable or disable DriveSpace's Automount feature, use the
<DRVSPACE /AUTOMOUNT> command.

                                      ***

<Syntax> <Notes>
----------------------------------------------------------------------------

                       DRVSPACE /COMPRESS -- Examples

To compress drive D, type the following command:

    drvspace /compress d:

Because this command does not specify how much space to leave uncompressed,
DriveSpace leaves 2 MB of uncompressed space (the default). Because the
command does not specify a drive letter for the uncompressed drive,
DriveSpace assigns the next available drive letter to the new uncompressed
drive (the host drive).

To direct DriveSpace to compress drive E, assign the drive letter F to the
new uncompressed drive (the host drive), and leave 4 MB of uncompressed
space on drive F, type the following command:

    drvspace /compress e: /newdrive=f: /reserve=4

                                      ***

----------------------------------------------------------------------------
<Top of page>
Last update: December 07, 2002 14:45 by
Content © 1997 Microsoft Corporation
All else © 2000-2005
Counter